package com.itheima.chapter10.thread.demo2;
//Runnable接口实现多线程

public class Demo {
    public static void main(String[] args) {
        MyRunnable mr=new MyRunnable();
        Thread t =new Thread(mr);
        t.start();

        MyRunnable mr1=new MyRunnable();
        Thread t1 =new Thread(mr1);
        t1.start();
    }
}
